package com.chuanzhi.recyclingmalladmin.controller;

import com.chuanzhi.recyclingmall.common.result.Result;
import com.chuanzhi.recyclingmalladmin.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/menu")
public class MenuController {
    @Autowired
    MenuService menuService;
    @GetMapping("/shopsetup")
    public Result getAdminMenuList(){
        return menuService.getAdminMenuList();
    }
}
